<template>
  <div class="hot">
    <h1>人气推荐</h1>
    <div class="hot1" v-for="item in hotGoodsList" :key="item.id">
      <img :src="item.list_pic_url" alt="" />
      <h3>{{ item.name }}</h3>
      <h5>{{ item.goods_brief }}</h5>
      <h5>￥{{ item.retail_price }}</h5>
    </div>
  </div>
</template>

<script>
export default {
  name: "",
  props: {
    hotGoodsList: [],
  },
  data() {
    return {};
  },
};
</script>
<style lang="less" scoped>
.hot {
  width: 100%;
  h1 {
    text-align: center;
    margin: 10px 0;
  }
  .hot1 {
    background: #ccc;
    padding-top: 1px;
    width: 100%;
    height: 150px;
    margin-bottom: 10px;
    img {
      width: 70px;
      height: 70px;
      float: left;
      margin-left: 20px;
      padding-right: 30px;
    }
    h3 {
      font-size: 20px;
      margin-bottom: 10px;
      margin-top: 10px;
    }
    h4 {
      font-size: 14px;
      margin-bottom: 10px;
    }
    h5 {
      font-size: 14px;
      margin-bottom: 10px;
    }
  }
}
</style>